﻿#region << 文 件 说 明 >>

/*----------------------------------------------------------------
// 文件名称：DetailBaseModel
// 创 建 者：杨程
// 创建时间：2022/1/29 16:21:05
// 文件版本：V1.0.0
// ===============================================================
// 功能描述：
//
//
//----------------------------------------------------------------*/

#endregion

namespace Vampirewal.Core.Models;

/// <summary>
/// 明细数据基类
/// </summary>
public class DetailBaseModel : TopModel
{
    /// <summary>
    /// 
    /// </summary>
    public DetailBaseModel()
    {
        //构造函数
    }

    private string _DtlId;

    /// <summary>
    /// 明细ID
    /// </summary>
    [SugarColumn(IsPrimaryKey = true, IsNullable = false, ColumnDescription = "主键")]
    public string DtlId
    {
        get
        {
            return _DtlId;
        }
        set
        {
            _DtlId = value;
            OnPropertyChanged();
        }
    }

    private string _BillId;

    /// <summary>
    /// 关联单据Id
    /// </summary>
    [SugarColumn(IsNullable = false)]
    public string BillId
    {
        get
        {
            return _BillId;
        }
        set
        {
            _BillId = value;
            OnPropertyChanged();
        }
    }
}